package com.jiugang.cardump.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cardumper_equipment")
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表主键
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;
    /**
     * 设备编号
     */
      private String id;

    /**
     * 设备名称
     */
    private String equipmentName;

    /**
     * 设备启用状态
     */
    private Integer statu;

    /**
     * 设备描述
     */
    private String equipmentInfo;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime datetime;


}
